/**
 * ourcarlife
 */
package com.whilefor.runner.modules.runner.entity;

import org.hibernate.validator.constraints.Length;

import com.whilefor.runner.common.persistence.DataEntity;

/**
 * 跑腿交割单管理Entity
 * @author lins
 * @version 2016-04
 */
public class RunnerRunOrderPayinfo extends DataEntity<RunnerRunOrderPayinfo> {
	
	private static final long serialVersionUID = 1L;
	private String payId;		// 支付id
	private String money;		// 金额
	private String orderId;		// 订单id
	private String info;		// info
	private String type;		// 支付类型
	
	public RunnerRunOrderPayinfo() {
		super();
	}

	public RunnerRunOrderPayinfo(String id){
		super(id);
	}

	@Length(min=1, max=64, message="支付id长度必须介于 1 和 64 之间")
	public String getPayId() {
		return payId;
	}

	public void setPayId(String payId) {
		this.payId = payId;
	}
	
	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}
	
	@Length(min=1, max=64, message="订单id长度必须介于 1 和 64 之间")
	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	
	@Length(min=0, max=2000, message="info长度必须介于 0 和 2000 之间")
	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}
	
	@Length(min=1, max=6, message="支付类型长度必须介于 1 和 6 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
}